﻿package cn.poco.pepsi.util;

public class Cons {

	// Tab页
	public final static String MAINVIEW_TO_TAKE_PHOTO = "mainview_to_take_photo";

	// Activity标题
	public final static String ACTIVITY_TOP_TITLE = "activity_top_title";
	// 错误提示
	public final static int CONN_ERROR = 401;
	/* 无数据、网络错误、正在加载 */
	public final static int SHOW_START = 111;
	public final static int SHOW_SUCCESS = 555;
	public final static int SHOW_NODATA = 333;
	public final static int SHOW_ERROR = 444;
	public final static int SHOW_RELOAD = 666;
	public final static int SHOW_ISLASTDATA = 777;
	public final static int SHOW_SEPT = 888;
	public final static int SHOW_IMAGE = 999;
	public final static String SHOW_ERROR_DATA = "338";

	/** S 初始化记录 **/
	public final static String GPS_CITY_CODE = "gpscitycode";
	/** 城市代码 **/
	public final static String CITY_CODE = "citycode";
	public final static String CITY_NAME = "cityname";
	/** 城市区域代码 **/
	public final static String AREA_CODE = "area_code";
	/** 商区代码 **/
	public final static String CIRCLE_CODE = "circleCode";
	/** 餐厅代码 **/
	public final static String RES_CODE = "rescode";

	/** 搜索内容 **/
	public final static String ISPEPSI_RES="ispepsires"; 
	public final static String HOT_SEARCH_KEYWORD="hotsearchkeyword";
	public final static String SEARCH_CONTENT = "searchcontent";
	public final static String SEARCH_DISHID = "searchdishid";
	public final static String SEARCH_CONDITIONCONTENT = "conditioncontent";

	/** 餐厅排行榜 **/
	public final static String IACTIVERANKLISTTYPE = "iactiveranklisttype";

	/** 用户信息 **/
	public static final String MYNAME = "myname";
	public static final String MYID = "myid";
	public static final String MYEMAIL = "myemail";
	public static final String MYPASSWORD = "mypassword";

	/** 餐厅星级 **/
	public final static int ZERO_STAR = 0;
	public final static int ONE_STAR = 1;
	public final static int TWO_STAR = 2;
	public final static int THREE_STAR = 3;
	public final static int FOUR_STAR = 4;
	public final static int FIVE_STAR = 5;

	/** GPS改变 **/
	public final static int GPS_UPDATE = 888;
	public final static int GPS_LOCATION_CHANGE = 999;
	public final static String GPS_DATA = "gps_data";
	public final static String GPS_LAT = "gps_lat";
	public static String GPS_LAT_DATA = null;
	public static String GPS_LON_DATA = null;

	public final static String GPS_LONG = "gps_long";
	public final static int NO_GPS = 777;
	public final static int STOP_GPS = 543;

	// ------------------------------------------------------------------------------------
	/** SharedPreferences **/
	public final static String SFTIPS = "tips";
	public final static String SFTIPSPHOTOLIST = "tipsphototips";
	public final static String SFPocoUser = "pocoUser";
	public final static String SFPocoId = "pocoId";
	public final static String SFPocoUserName = "pocoName";
	public final static String SFPocoUserPwd = "pocopwd";
	public final static String SFShareSet = "SFShareSet";
	public final static String SFShareSetQQKey = "sfsharesetqqkey";
	public final static String SFShareSetSinaKey = "sfsharesetsinakey";
	public final static String SFShareSetQQScreet = "sfsharesetqqscreet";
	public final static String SFShareSetSinaScreet = "sfsharesetsinascreet";

	/* startActivityForResult */
	public final static int TAKEPHOTO = 6;
	public final static int SELECTEDPHOTO = 7;
	public final static int SELECTEDRES = 8;
	public final static int SELECTEDDISH = 9;
	public final static int SELECTEDShare = 10;
	// ------------------------------------------------------------------------------------

	/* 餐厅数据 */
	public final static String RESDATA = "resdata";
	public final static String RESDATAINDEX = "resdata_index";

	/* 菜式数据 */
	public final static String DISHDATANAME = "dishdataname";
	public final static String DISHDATACOMM = "dishdatacomm";

	/* 微博 */
	public final static String SINA_ACCESS_TOKEN = "sinaAccesToken";
	public final static String SINA_ACCESS_TOKEN_SECRET = "sinaAccessTokenSecret";
	public final static String QQ_ACCESS_TOKEN = "qqAccesToken";
	public final static String QQ_ACCESS_TOKEN_SECRET = "qqAccessTokenSecret";
	public final static String SHARE_TO_SINA = "shareToSina";
	public final static String SHARE_TO_QQ = "shareToQQ";

	public final static String SINA_AUTH_URL = "sinaAuthUrl";
	public final static String QQ_AUTH_URL = "qqAuthUrl";
	public final static String SINA_VERIFIER = "sinaVerifier";
	public final static String QQ_VERIFIER = "qqVerifier";

	public final static String CALL_BACK_URL = "myapp://ShareActivity";
	public final static String SINA_CONSUMER_KEY = "3934407699";
	public final static String SINA_CONSUMER_SECRET = "4428d7ca9e0bdc75538c8794971fc2f9";
	public final static String QQ_CONSUMER_KEY = "34761003ff1f4c51a5758284b3fb3ef4";
	public final static String QQ_CONSUMER_SECRET = "35b50055fa4bdf86a5f92a41707ea21c";
	public final static String SHARE_SET_ONTYPE = "ShareSetOnType";

	// 附近模块
	public final static String PREFENCES_NAME = "prefences_food";

	// wifi状态
	public static boolean WIFI_CONNECT = false;

	// 个人数据
	public final static String MemeberIdMe = "MemeberIdMe";
	public final static String MemeberName = "MemeberName";
	public final static String MemeberUid = "MemeberUid";
	public final static String MemeberBean = "MemeberBean";
	public final static String MemeBolgUrl = "MemeBolgUrl";
	public final static String MemeIsEdIng = "MemeIsEdIng";// 关注还是粉丝
	public final static String MemeOnType = "MemeOnType";

	// 食评界面
	public final static String PublishedOnType = "publishedOnType";// 从什么地方跳转到发食评界面；
	public final static String PublishedThemeId = "PublishedThemeId";

	// 提醒数据
	public final static String RemindZan = "RemindZan";
	public final static String RemindSystem = "RemindSystem";
	public final static String RemindFollow = "RemindFollow";

	// 美食活动数据
	public final static String PARTDATA = "partdata";
	public final static String PARTIMAGEID = "partimageid";
	public final static String PARTINTRODUCE = "partintroduce";

	// 美食专题数据
	public final static String TOPICDATA = "topicdata";
	public final static String TOPICID = "topicID";

	// 页面
	public final static String TabChange = "TabChange";

	// 登录
	public final static String LOGIN_TYPE = "login_type";
	public final static String LOGIN_RECEIVE_VALUE = "login_receive_value";

	// 初始化之前获取未读消息数
	public final static String INIT_REMINDSUM = "INIT_REMINDSUM";

}